﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace stackFluent.Domain {
    public class RelaTechTech {
        [Key]
        public Guid ID { get; set; }

        public int Tech_TechId { get; set; }
        public virtual Tech Tech { get; set; }

        //依赖，base ot的技术
        public int? TechTo_TechId { get; set; }
        public virtual Tech TechTo { get; set; }

        //相关度，由democracy系统决定。可以投认可与不认可两种票，只要是正数票就被显示，0数票被隐藏
        public int Grade { get; set; }

        //挖掘得到，用于投票的autocomplate功能
        public int GrubGrade { get; set; }
    }
}